package sicnu.cs.ich.es.config;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/11/29-21:01
 **/
public enum ElasticSearchIndex {
    /**
     * ES
     */
    ICH("ich","_doc")
    ;
    ElasticSearchIndex(String index, String type) {
        this.index = index;
        this.type = type;
    }

    private final String index;
    private String type;

    public String getIndex() {
        return index;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
